package com.practice.rmi.server;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class HelloServiceImpl extends UnicastRemoteObject implements IHelloService {

	private static final long serialVersionUID = 1227819482507464226L;

	protected HelloServiceImpl() throws RemoteException {
		super();
	}

	@Override
	public String sayHello(String msg) throws RemoteException{
		return "Hello, " + msg;
	}

}
